import React, { Component } from 'react';
import {
    View,StyleSheet
} from 'react-native';
import { Container, Content, ListItem, Left, Body, Right, Switch, Radio, Text, Icon, Badge } from 'native-base';
export default class CheckList extends Component {
    // 构造
    constructor(props) {
        super(props);
        // 初始状态
        this.state = {
        }

    }
    componentDidMount() {

    }

    render() {
        return (
            <View>

                    <ListItem icon>
                        <Left>
                            <Icon name="plane" />
                        </Left>
                        <Body>
                        <Text>Airplane Mode</Text>
                        </Body>
                        <Right>
                            <Switch valur={false} />
                        </Right>
                    </ListItem>
                    <ListItem icon>
                        <Left>
                            <Icon name="wifi" />
                        </Left>
                        <Body>
                        <Text>Wi-Fi</Text>
                        </Body>
                        <Right>
                            <Text>GeekyAnts</Text>
                            <Icon name="arrow-forward" />
                        </Right>
                    </ListItem>
                    <ListItem icon>
                        <Left>
                            <Icon name="bluetooth" />
                        </Left>
                        <Body>
                        <Text>Bluetooth</Text>
                        </Body>
                        <Right>
                            <Text>On</Text>
                            <Icon name="arrow-forward" />
                        </Right>
                    </ListItem>

            </View>
        );
    }


}
